﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CarsRegistrationService.Models.LightDataModel
{
    public class LightVehiclePassport
    {
        [Required(ErrorMessage = "*")]
        [DisplayName("VIN")]
        public string VIN { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Серия")]
        public string CarSeries { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Дата")]
        public DateTime? CarDate { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Модель двигателя")]
        public string EngineModel { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Номер двигателя")]
        public int? EngineNumber { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Марка")]
        public string Brand { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Модель")]
        public string Model { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Категория")]
        public string Category { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Номар шасси")]
        public int? ChassisNumber { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Номер кузова")]
        public int? BodyNumber { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Цвет")]
        public string BodyColor { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Мощность двигателя")]
        public int? EnginePower { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Рабочий объем двигателя")]
        public int? EngineWorkingVolume { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Тип двигателя")]
        public int? EngineType { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Максимальная масса")]
        public int? MaxMass { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Собственная масса")]
        public int? MassFree { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Страна вывоза")]
        public string CountryExport { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Таможенные ограничения")]
        public string CustomsRestrictions { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Производитель")]
        public string Manufacturer { get; set; }
    }
}